import { defineConfig } from 'vite';
import uni from '@dcloudio/vite-plugin-uni';
import { resolve } from 'path';

export default defineConfig({
  plugins: [uni()],
  resolve: {
    alias: {
      '@mqtt': resolve(__dirname, 'mqtt/main'),
      '@c': resolve(__dirname, 'components'),
      '@': resolve(''),
    },
  },
});
